package com.tree.thrive.business.event;

import org.springframework.context.ApplicationEvent;

/**
 * @Auther: cheng.tang
 * @Date: 2024/10/23
 * @Description: top-tree
 */
public class CustomEvent extends ApplicationEvent {
    private final String message;

    public CustomEvent(Object source, String message) {
        super(source);
        this.message = message;
    }

    public String getMessage() {
        return message;
    }
}
